//
//  YYT_YuedanLeftModel.m
//  AudioVisualFeast
//
//  Created by 张琪 on 16/2/29.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "QL_YuedanLeftModel.h"

@implementation QL_YuedanLeftModel
- (instancetype)initWithDictionary:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.ids = value;
    }
    if ([key isEqualToString:@"creator"]) {
        NSDictionary *dic = value;
        self.uid = dic[@"uid"];
        self.nickName = dic[@"nickName"];
        self.smallAvatar = dic[@"smallAvatar"];
    }
}

- (id)valueForUndefinedKey:(NSString *)key{
    return nil;
}

@end
